difference quotient to find the derivative of square root